package com.atxiaodei.kabudashejimoshi.单例模式.枚举;

/**
 * @ClassName EnumSingleton
 * @Deacription TODO
 * @Author 卡布达
 * @Date 2021/10/12 13:02
 * @Version 1.0
 **/
public enum EnumSingleton {
    INSTANCE;
    private Object data;

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public static EnumSingleton getInstance(){
        return INSTANCE;
    }
}
